package com.etc.entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by dzq on 2019/5/24.
 * 前台订单显示数据接口中用到的实体类
 */

public class UserRecord {

    private Integer rid;
    private String mpicture;
    private String mname;
    private Date buytime;
    private Date mstartime;
    private BigDecimal payprice;
    private String cname;

    public UserRecord() {
    }

    public UserRecord(Integer rid, String mpicture, String mname, Date buytime, Date mstartime, BigDecimal payprice, String cname) {
        this.rid = rid;
        this.mpicture = mpicture;
        this.mname = mname;
        this.buytime = buytime;
        this.mstartime = mstartime;
        this.payprice = payprice;
        this.cname = cname;
    }

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public String getMpicture() {
        return mpicture;
    }

    public void setMpicture(String mpicture) {
        this.mpicture = mpicture;
    }

    public String getMname() {
        return mname;
    }

    public void setMname(String mname) {
        this.mname = mname;
    }

    public Date getBuytime() {
        return buytime;
    }

    public void setBuytime(Date buytime) {
        this.buytime = buytime;
    }

    public Date getMstartime() {
        return mstartime;
    }

    public void setMstartime(Date mstartime) {
        this.mstartime = mstartime;
    }

    public BigDecimal getPayprice() {
        return payprice;
    }

    public void setPayprice(BigDecimal payprice) {
        this.payprice = payprice;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    @Override
    public String toString() {
        return "UserRecord{" +
                "rid=" + rid +
                ", mpicture='" + mpicture + '\'' +
                ", mname='" + mname + '\'' +
                ", buytime=" + buytime +
                ", mstartime=" + mstartime +
                ", payprice=" + payprice +
                ", cname='" + cname + '\'' +
                '}';
    }
}
